#ifndef __GLLIGHT_H__
#define __GLLIGHT_H__

#include "light.h"

#include <iostream>
#include <vector>

#include "glm/glm.hpp"

#define GL_MAX_LIGHT	8

class GLLightMgr :public LightMgr
{
protected:
	int lightUsed[GL_MAX_LIGHT];
public:
	GLLightMgr();
	virtual ~GLLightMgr();

	virtual void Enable(Light *light);
	virtual void Enable(char *name);
	virtual void Disable(Light *light);
	virtual void Disable(char *name);
	virtual void GlobaleAmbientLight(bool on);

	int FindUnusedSlot();
};

#endif //__GLLIGHT_H__
